<?php
/**
 * $Horde: groo/index.php,v 1.10.10.4 2006/01/01 21:29:05 jan Exp $
 *
 * Copyright 2006 Luciano Ramalho <luciano@ramalho.org>
 *
 * See the enclosed file LICENSE for license information (ASL). If you
 * did not receive this file, see http://www.horde.org/licenses/asl.php.
 *
 * @author  Luciano Ramalho <luciano@ramalho.org>
 * @since   Groo 1.0
 * @package Groo
 */

@define('GROO_BASE', dirname(__FILE__));
require_once GROO_BASE . '/lib/base.php';

require GROO_TEMPLATES . '/common-header.inc';
require GROO_TEMPLATES . '/menu.inc';

$collection_target = Auth::getAuth();
# echo "<pre>$collection_target</pre>";

$storage = &Groo_Driver::singleton($collection_target);
# echo '<pre>'; var_export($storage); echo '</pre>';
            
$book = $storage->getBook(45);
#$book = $storage->getBook(NULL);

echo '<pre>';
var_export($book);
echo '</pre>';
require $registry->get('templates', 'horde') . '/common-footer.inc';
